using OpenTK;

namespace ColladaDotNet.OpenTKMapping
{
	internal class NameSource : Source
	{
		private Name_array array;
		private accessor accessor;
		internal override void Load(source colladaData)
		{
			base.Load(colladaData);

			array = (Name_array)colladaData.Item;
			accessor = colladaData.technique_common.accessor;
		}
		public override Vector4 GetVector4(ulong i)
		{
			throw new System.NotImplementedException();
		}

		public override Vector3 GetVector3(ulong i)
		{
			throw new System.NotImplementedException();
		}
		public override ulong Count
		{
			get
			{
				return array.count;
			}
		}

		public override Matrix4d GetMatrix4d(ulong i)
		{
			throw new System.NotImplementedException();
		}

		public override double GetDouble(ulong i)
		{
			throw new System.NotImplementedException();
		}

		public override string GetString(ulong i)
		{
			return array.Text[i];
		}
	}
}